<template>
  <div>
    <p :class="{pinkStr:a}">我是一个可爱的p</p>
  </div>
</template>

<script>
export default {
  name: 'VueThreeApp',

  data() {
    return {
      a:true
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style  scoped>
.pinkStr{
  color: pink;
}
</style>